package com.orange.core.pojo.entity.config;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.orange.core.pojo.entity.IIntIdModel;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class Config implements IIntIdModel<Config> {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 配置键
     */
    @TableField("`key`")
    private String key;

    /**
     * 值
     */
    @TableField("`value`")
    private String value;
}
